import 'package:flutter/material.dart';
import 'package:fluro/fluro.dart';
import 'package:flutter_demo_list/demo/animation_demo/page/animation_page_1.dart';
import 'package:flutter_demo_list/demo/splash_demo/page/splash_demo_list_page.dart';
import 'package:flutter_demo_list/demo/splash_demo/page/splash_page_1.dart';
import '../demo/slide_delete_item/page/slide_delete_item_page.dart';
import '../demo/right_slide_back/page/right_slide_back_page.dart';
import '../demo/provider_demo/page/provider_demo_page.dart';
import '../demo/bottom_navigation_bar/page/bottom_navigation_bar_page.dart';
import '../demo/bottom_app_bar/page/bottom_app_bar_page.dart';
import '../demo/rosted_glass/page/rosted_glass_page.dart';

Handler slideDeleteItemPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return SlideDeleteItemPage();
});

Handler rightSlideBackPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return RightSlideBackPage();
});

Handler providerDemoPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return ProviderDemoPage();
});

Handler bottomNavigationBarPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return BottomNavigationBarPage();
});

Handler bottomAppBarPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return BottomAppBarPage();
});

Handler rostedGlassPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return RostedGlassPage();
});

Handler animationPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return AnimationPage1();
});

Handler splashDemoListPageHandler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return SplashDemoListpage();
});

Handler splashPage1Handler = Handler(
    handlerFunc: (BuildContext context, Map<String, List<String>> params) {
  return SplashPage1();
});
